package tdh.xt.dao;

import org.springframework.context.annotation.Conditional;
import org.springframework.stereotype.Repository;
import tdh.xt.conditional.MybatisCondition;
import tdh.xt.entity.po.Depart;

import java.util.List;

/*
 * @Package tdh.xt.dao
 * @Description DepartDao接口，其中Mybatis由xml实现，Hibernate实现在tdh.xt.dao.hibernate下
 * @Author RicarAN
 * @Date 2021/6/15 16:18
 * @Copyright (c) 2021,南京通达海科技股份有限公司 All Rights Reserved.
 * @Version 1.0
 * Modification History:
 * Date                  Author      Version     Description
 * ------------------------------------------------------------------
 * 2021/6/15 16:18       RicarAN      1.0        DepartDao接口，其中Mybatis由xml实现，Hibernate实现在tdh.xt.dao.hibernate下
 *
 */
@Repository("departDao")
@Conditional(MybatisCondition.class)
public interface DepartDao {

    /*
     * @description 获得所有部门信息
     * @return java.util.List<tdh.xt.entity.po.Depart> 所有部门信息
     * @author RicarAN
     * @version 1.0
     * @date 2021/6/15 16:19
     */
    List<Depart> getAllDepart();
}
